﻿using SelfService.Model.Models;
using System.Threading.Tasks;

namespace SelfService.Model.Interface
{
    /// <summary>
    /// 现场挂号
    /// </summary>
    public interface IAppointment
    {
        /// <summary>
        /// 查询科室信息
        /// </summary>
        /// <param name="body"></param>
        /// <returns></returns>
        Task<ResultDetail<object>> GetDepartmentInfo(string body);

        /// <summary>
        /// 查询医生信息
        /// </summary>
        /// <param name="body"></param>
        /// <returns></returns>
        Task<ResultDetail<object>> GetDoctorInfo(string body);
        
        /// <summary>
        /// 查询时段信息
        /// </summary>
        /// <param name="body"></param>
        /// <returns></returns>
        Task<ResultDetail<object>> GetTimeInfo(string body);

        /// <summary>
        /// 挂号
        /// </summary>
        /// <param name="body"></param>
        /// <returns></returns>
        Task<ResultDetail<object>> AddOrder(string body);
        
        /// <summary>
        /// 查询挂号费
        /// </summary>
        /// <param name="body"></param>
        /// <returns></returns>
        Task<ResultDetail<object>> GetRegFee(string body);
        
        
        /// <summary>
        /// 付款
        /// </summary>
        /// <param name="body"></param>
        /// <returns></returns>
        Task<ResultDetail<object>> Pay(string body);
    }
}
